package week07_tch;
public class PlaneProxy implements Plane {
    private Plane plane;
    public PlaneProxy(Plane plane){
        this.plane=plane;
    }
    @Override
    public void takeoff() {
        PlaneAirPort planeAirPort =new PlaneAirPort(PlanFactory.creatplane());
        planeAirPort.schedule();
    }
}
